﻿using System.Collections.Generic;

namespace Pay.DTO {
	/// <summary>
	/// 分页查询请求
	/// </summary>
	public class PageQuery {
		public PageQuery() {
			page = 1; size = 10;
			//order_by = new List<OrderModelField>();
		}

		/// <summary>
		/// 当前分页
		/// </summary>
		public int page { get; set; }

		/// <summary>
		/// 每页N条，默认10条
		/// </summary>
		public int size { get; set; }

		//public List<OrderModelField> order_by { get; set; }
	}
	public struct OrderModelField {
		public string propertyName { get; set; }
		public bool IsDESC { get; set; }
	}
}
